package com.example.demo.DTO;

import com.example.demo.service.ICartService;
import lombok.Data;

import java.util.List;

@Data
public class CartItemDTO {
	private Integer goodsID;
	private String goodsName;
	private double price;
	private Integer num;

	public CartItemDTO(Integer goodsID, String goodsName, double price, Integer num) {
		this.goodsID=goodsID;
		this.goodsName=goodsName;
		this.price=price;
		this.num=num;
	}
}